<!DOCTYPE html>
<html lang="en">
{extend name="/index/header"}



{block name="mycss"}
{css  href="__CSS__bootstrap.min.css"}
{css  href="__INDEX__reset.css"}
{css href="__CSS__toastr.min.css"}
{/block}

{block name="main"}

    <!-- 内容区域 -->
    <div class="tpl-content-wrapper">

        <div class="container-fluid am-cf">
            <div class="row">
                <div class="am-u-sm-12 am-u-md-12 am-u-lg-9">
                    <div class="page-header-heading"><span class="am-icon-home page-header-heading-icon"></span> 表单 <small>Amaze UI</small></div>
                    <p class="page-header-description">Amaze UI 有许多不同的表格可用。</p>
                </div>
                <div class="am-u-lg-3 tpl-index-settings-button">
                    <button type="button" class="page-header-button"><span class="am-icon-paint-brush"></span> 设置</button>
                </div>
            </div>

        </div>

        <div class="row-content am-cf">


            <div class="row">

                <div class="am-u-sm-12 am-u-md-12 am-u-lg-12">
                    <div class="widget am-cf">
                        <div class="widget-head am-cf">
                            <div class="widget-title am-fl">分配角色</div>
                            <div class="widget-function am-fr">
                                <a href="javascript:;" class="am-icon-cog"></a>
                            </div>
                        </div>

                            <form action="/doassignroles"  method="post" class="mt20 h3">
                                name:

                                <select name="uid"  style="background:black">
                            {volist name="list" key="k" id="v" }
                                    <option value="{$v['id']}">{$v['name']}</option>
                            {/volist}
                                </select>


                                <select name="rid"  style="background:black">
                                    {volist name="res" key="k" id="value" }
                                    <option value="{$value['id']}">{$value['role_name']}</option>
                                    {/volist}
                                </select>




                                <button style="background:black" class="btn btn-success btn-lg" type="submit">确认添加</button>
                            </form>
                    </div>
                </div>
            </div>


        </div>
    </div>
{/block}
</div>
</div>


{block name="jsroute"}
{js href="__JS__jquery.min.js"}
{js href="__JS__bootstrap.min.js"}
{js href="__JS__toastr.min.js"}
{/block}
</body>

</html>